# include "myHeader.h"

void printWin(char *path, char *Hare, char *Turtoise){
	
	//Variable i can read into so i can keep the results on screen after runned
	int temp;
	
	//Prints "Hare Wins!" if hare reachs last point of path, first
	if(Hare >= (path + 49))
		printf("Hare Wins!\n");

	//Prints "Turtoise Wins!" if hare reachs last point of path, first
	else if(Turtoise >= (path + 49))
		printf("Turtoise Wins!\n");

	//Error Checking - for some reason the while loop kicked out without its conditions being true
	else
		printf("There has been an error neither Turtoise nor Hare won the race\n");
	scanf("%c", &temp);

}